<div class="mfriend_my">
    <div class="msearch_results">
		 共有<span><?=$this->allUserNums?></span>位好友
	</div><!--search_results-->
    <div class="mfriend_main">
		 <div class="mfriend_mr_left">
<? if($this->ret): ?>
<? foreach($this->ret as $i=>$row):?>			 
			 
			  <div class="mfriend_admin_mr">
			       <div class="mfriend_admin_mrl">
						<div class="imgborder">
							<a href="/?uid=<?=$row['uid']?>">
								<img class="avatar" src="<?= avatar_util_saver::get_path($row['uid'])?>"/>
							</a>
						</div>
					</div><!--mfriend_admin_mrl-->
					<div class="mfriend_admin_mrr">
					    <div class="mfriend_admin_mrr_right2">
							<p><a href="javascript:void(0)" onclick="javascript:Friends.addFriendToGroupFrom('<?= $row['uid']?>')">修改分组</a></p>
							<?if ($this->group):?><p><a href="javascript:void(0)" onclick="Friends.delFriendGroupFrom('<?=$this->group?>','<?= $row['uid']?>', '<?=$row['username']?>')">从分组中移除</a></p><?endif;?>
							<p><a href="javascript:void(0)" onclick="Friends.delFriendFrom('<?= $row['uid']?>', '<?if($this->group) {echo $this->group;} else {echo '0';}?>')" class="mfriend_admin_mrr_right2a">删除此好友</a></p>
						</div><!--mfriend_admin_mrr_right-->
					    <div class="mfriend_admin_mrr_left">
							<p>
								<?if(Util::isOnline($row['uid'])):?>
								<span class="online"></span>
								<?endif;?>	
								<a class="" href="/?uid=<?= $row['uid']?>"><?= htmlspecialchars($row['username'])?></a>
							</p>
							
						</div>
					</div><!--mfriend_admin_mrr-->
			  </div><!--mfriend_admin_mr-->
			  
<? endforeach; ?>
<? else:?>
没有记录。
<?endif;?>
			  
			  
		 </div><!--mfriend_mr_left-->
    </div><!--mfriend_main-->
</div><!--friend_my-->
